package com.okyai.kt.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.okyai.common.annotation.Excel;
import com.okyai.common.core.domain.BaseEntity;
import com.okyai.kt.domain.vo.TableTrVo;

/**
 * 课题对象 kt_topic
 * 
 * @author okyai
 * @date 2021-03-20
 */
public class Topic extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 课题主键 */
    private Long topicId;

    /** 课题名称 */
    @Excel(name = "课题名称")
    private String topicName;

    /** 课题编码 */
    @Excel(name = "课题编码")
    private String topicCode;

    /** 负责人 */
    @Excel(name = "负责人")
    private Long directorId;

    /** 负责人姓名 */
    @Excel(name = "负责人姓名")
    private String directorName;

    /** 租户主键 */
    @Excel(name = "租户主键")
    private Long deptId;

    /** 方案组信息 */
    private List<TopicPlan> topicPlanList;
    
    /** 项目信息 */
    private List<TopicItem> topicItemList;
    
    private List<TableTrVo> tr;

    public void setTopicId(Long topicId) 
    {
        this.topicId = topicId;
    }

    public Long getTopicId() 
    {
        return topicId;
    }
    public void setTopicName(String topicName) 
    {
        this.topicName = topicName;
    }

    public String getTopicName() 
    {
        return topicName;
    }
    public void setTopicCode(String topicCode) 
    {
        this.topicCode = topicCode;
    }

    public String getTopicCode() 
    {
        return topicCode;
    }
    public void setDirectorId(Long directorId) 
    {
        this.directorId = directorId;
    }

    public Long getDirectorId() 
    {
        return directorId;
    }
    public void setDirectorName(String directorName) 
    {
        this.directorName = directorName;
    }

    public String getDirectorName() 
    {
        return directorName;
    }

    public Long getDeptId() {
		return deptId;
	}

	public void setDeptId(Long deptId) {
		this.deptId = deptId;
	}

	public List<TopicPlan> getTopicPlanList()
    {
        return topicPlanList;
    }

    public void setTopicPlanList(List<TopicPlan> topicPlanList)
    {
        this.topicPlanList = topicPlanList;
    }
    
    public List<TopicItem> getTopicItemList() {
		return topicItemList;
	}

	public void setTopicItemList(List<TopicItem> topicItemList) {
		this.topicItemList = topicItemList;
	}
	
	

	public List<TableTrVo> getTr() {
		return tr;
	}

	public void setTr(List<TableTrVo> tr) {
		this.tr = tr;
	}

	@Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("topicId", getTopicId())
            .append("topicName", getTopicName())
            .append("topicCode", getTopicCode())
            .append("directorId", getDirectorId())
            .append("directorName", getDirectorName())
            .append("remark", getRemark())
            .append("tenantId", getDeptId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("topicPlanList", getTopicPlanList())
            .toString();
    }
}
